﻿<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<DecisionMaking.BusinessLogic.Model.LoginModel>" %>

<asp:Content ContentPlaceHolderID="TitleContent" runat="server">Login</asp:Content>

<asp:Content ContentPlaceHolderID="MainContent" runat="server">
	
    <%= Html.ValidationSummary("Bad email or password.") %>

    <% using (Html.BeginForm()) { %>
        <div>
            <fieldset>
                <legend>Account Information</legend>         
                <p class="field-multi-line field-textbox">
                    <%= Html.LabelFor(m => m.Email) %>
                    <%= Html.TextBoxFor(m => m.Email) %>
                </p>
                <p class="field-multi-line field-textbox">
                    <%= Html.LabelFor(m => m.Password) %>
                    <%= Html.Password("Password") %>
                </p>
                <p class="field-single-line field-checkbox">
                    <%= Html.CheckBox("RememberMe") %>
                    <%= Html.LabelFor(m => m.RememberMe) %>
                </p>
                <p>
                    <input type="submit" value="Login" />
                    <%= Html.ActionLink("Sign Up", "Register") %>
                </p>
            </fieldset>
        </div>
    <% } %>	
</asp:Content>